package com.sniservices.test;

/**
 * Created by Shaine Ismail.
 * User: sismail
 * Date: 19/06/2011
 * Time: 09:09
 * Copyright SNI-Services ltd
 */
public class Fibonacci {

    private double seed1;
    private double seed2;

    public Fibonacci(double seed1 , double seed2){
        this.seed1 = seed1;
        this.seed2 = seed2;
    }

    public String calculateAnReturnString() {
        Double returnValue = seed1+seed2;
        seed1 = seed2;
        seed2 = returnValue;
        return returnValue.toString();
    }
}
